package com.htudata.core.util.operation;


public class ThrowableOperationUtils {

  
  public static String getStackTraceStr(Throwable throwable) {
    StringBuffer result = new StringBuffer();
    result.append(throwable.toString() + "\r\n");
    for (StackTraceElement stackTraceElement : throwable.getStackTrace())
      result.append(stackTraceElement + "\r\n"); 
    return result.toString();
  }
}
